package com.demo;

import java.io.Serializable;

public class ProductDetails  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3407896601356862984L;
	private int productId;
	private String productName;
	private int quantity;
	private double price;
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "ProductDetails [productId=" + productId + ", productName="
				+ productName + ", quantity=" + quantity + ", price=" + price
				+ "]";
	}
	
	
}
